29. Assessment

Navigation

It is best practice to utilize the back button as a primary navigation interaction.

SOLUTION: False

Back Stack

By default, the Back Stack keeps track of which of the following? (choose all that apply)

SOLUTION:
  • Fragments
  • Activities

Fragment

A Fragment can exist without an Activity

SOLUTION: False

Fragment 2

Fragments are the recommended way to encapsulate application functionality.

SOLUTION: False

Up Button

The Up button triggers which callback method?

SOLUTION: `onSupportNavigationUp`

Back Button

Which of the following is the default behavior for the back button?

SOLUTION: All of the Above

Intent

Which Intent is best used to allow the user to choose a picture from their gallery for use in your app?

SOLUTION: Implicit

Intent 2

Which Intent is best used to allow the user to navigate to a different Activity within your app?

SOLUTION: Explicit

Intent 3

Which Intent is best used to allow the user to share content on social media?

SOLUTION: Implicit

Intent 4

Which class contains data that can be sent with an intent to a receiving Activity?

SOLUTION: Bundle

Intent 5

Intents can carry any type of data.

SOLUTION: False